/bin/bash (the Linux preset shell, the default shell in many Linux distributions today, combines many of the advantages of other shells.) )/bin/ksh (KornShell by the T-Bell Lab. Developed, in combination with bash)/BIN/TCSH (Consolidated C Shell, provides more features)/BIN/CSH (has been replaced by/BIN/TCSH)/bin/zsh (based on Ksh developed, more powerful shell) now the general shell is used by bash > with Command Auto-complement and other functions,
In the *unix system, the commonly used shell has sh,bash,csh/tcsh, ksh.
SH comes from SystemV Unix, is the traditional Unix shell, until now many system administrators still like to use SH.Bash comes from BSD Unix, the syntax is very similar to C, so developers who typically have a C + + programming background are most likely to use it.Ksh is an extension of SH and absorbs some useful features of CSH, but
Currently, the popular Shell types include bash, ksh, and csh-general Linux technology-Linux technology and application information. For more information, see the following. Bash is the default Shell used in Linux. It is jointly completed by Brian Fox and Chet Ramey. It is short for Bourne Again Shell and has a total of 40 internal commands. Linux uses it as the default Shell because it has the following features:
(1) You can use a function similar
Tcshell, CshellConfiguration fileGlobal configuration file/ETC/CSH.CSHRCPersonal Profile ~/.CSHRC or ~/.TCSHRCReference:1. Configure your csh/tcsh, https://wiki.freebsdchina.org/howto/c/config_your_csh2. My. CSHRC Common Settings http://biancheng.dnbcw.info/bsd/260256.htmlI use CSH and like to add the following in. CSHRC:#给ls增加眼色, add '/' after directory nameAlias LS LS-GF#可以像bash那样按tab键显示可以选择的命令Set Autolis
FreeBSD in order to determine whether a process exists, the implementation of the Chsh-s/bin/bash command, unfortunately, is just disconnected, and then again link can not be able to su root in the administrative authority. Sad thing, had to ask the room to help operate.
The code is as follows
Copy Code
Chsh-s/bin/bashView/etc/passwd content when foundRoot:*:0:0:charlie :/root:/bin/bashThis sentence has been changedTurns out to beRoot:*:0:0:charlie :/root:/bin/
There are some differences between csh, tcsh, bash, sh, and other shell, such as csh, tcsh, bash, and sh.
Section C: Differences from other Unix shellsC: Differences with other UNIX shells scripts C1) How does bash differ from sh, the Bourne shell? C1) bash, sh, and Bourne shell differences This is a non-comprehensive list of features that differentiate bashfrom the SVR4.2 shell. the bash manual page explai
Check whether the flag file is running or not.
Process detection that can be added with related keywords.
Code(Simple CSH instance) running_check
#
! /Bin/CSH-F
If ($
#
Argv
Usage:
Echo
"
Usage: $0
"
Echo
"
Action need be one value of-check or-Delete.
"
Echo
"
Default timeout is 0, it means no timeout limitation.
"
Exit
1
Endif
Set running_flag = $ 1 Set ac
CSH Example Reference:
Copy Code code as follows:
#!/bin/csh-vx
#csh-VX Show the command before running to help debug
#just to check syntax#csh-N $
#argvif ($ #argv echo "Sorry, but you entered too few parameters"echo "Usage: $ arg1 arg2ExitendifSet arg1 = $Set arg2 = #2
foreach I ($*)Echo $iEnd#e
Starting with Android3.0 (API level 11), the Android 2D rendering pipeline provides better support for hardware acceleration. all of the drawing operations performed by hardware acceleration are done using the GPU on the View object's canvas . Because enabling hardware acceleration increases the need for resources, such an application consumes more memory.Hardwar
The Android standard hardware driver is divided into two parts, one is the hardware driver running in the Linux kernel, and the other part is the hardware abstraction layer running in user space. Using this method, the system can be hardware-independent, but also protect the interests of some manufacturers. In Android
Android from hardware to application: Step by Step 3-Hardware Abstraction Layer access hardware driver
The Android standard hardware driver is divided into two parts: one is the hardware driver running in the Linux kernel, and the other is the
March 30, le Vision in Beijing a conference to make the entire smart TV industry "Restless", in addition to the release of the 4th generation of Super TV, le Vision also announced a heavy program------"414 Hardware free Day", according to the plan, the April 14 will push 4 X55 curved Project Commemorative Version/ Super TV x40s/x43s and other gift products, users do not need to pay for hardware. How can thi
Warning: Running bat source code is a dangerous action, if you are unfamiliar, please do not try!Batch processing language: Simplified ChineseLicensing method: Free softwareOperating Environment: Windows platformDetects hardware batch commands. One click gets. Double-tap to view@echo offcolor 0atitle Hardware detectionModeCon cols=90SC config WinMgmtStart= Auto >nul 2Net StartWinMgmt 2>1nulsetlocalenabledel
Typical manifestations of hardware resource conflicts: When you add New hardware or add new hardware after the system often no reason to crash, black screen, startup, no reason to enter safe mode; The sound card and mouse do not work properly or go completely; hold down the ALT key and double-click My Computer icon to view the system properties when an exclamatio
Compile the JNI method for the hardware abstraction layer (HAL) module of Android in Ubuntu to provide the Java access hardware service interface (Lao Luo study note 4), androidjni
In the last two articles, we introduced how to write drivers for Android hardware, including how to implement kernel drivers in Linux kernel space and
Article reprinted to CSDN community Luo Shenyang's Android tour, original address: http://blog.csdn.net/luoshengyang/article/details/6575988In the previous two articles, we described how to write drivers for the hardware of an Android system, including how to implement kernel drivers in Linux kernel space and implement hardware abstraction layer interfaces in user space. The purpose of both is to provide
Compile the JNI method for the hardware abstraction layer (HAL) module of Android in Ubuntu to provide the Java access hardware service interface (Lao Luo study note 4), androidjni
In the last two articles, we introduced how to write drivers for Android hardware, including how to implement kernel drivers in Linux kernel space and
· Definition In fact, this buffer zone is a storage area of malloc, but it is not as good as that of malloc, which is applied in the memory, and the buffer zone is in the GPU/AGP, and its write and read speed is faster. Generally, the hardware buffer is used as the vertex buffer, index buffer, and Pixel Buffer. · Use Hardware buffer management is the hardwarebuffermanager responsible for a
In the last two articles, we introduced how to write drivers for Android hardware, including how to implement kernel drivers in Linux kernel space and Hardware Abstraction Layer interfaces in user space. The purpose of both is to provide a hardware access interface to the previous layer, that is, to provide hardware se
Linux system time and hardware time settings, linux hardware1. Introduction
In Linux, there are two types of Clock: hardware clock and system clock. The hardware clock refers to the clock device on the motherboard, that is, the clock that can usually be set on the BIOS screen. At this time, the battery power on the motherboard is maintained. If the battery on the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.